package edu.kaist.cs408.pof.common.service;

import edu.kaist.cs408.pof.common.model.KaistianVo;

import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;

/**
 * Created with IntelliJ IDEA.
 * User: duyleekun
 * Date: 5/11/12
 * Time: 1:00 AM
 * To change this template use File | Settings | File Templates.
 */
@Path("kaistian")
public interface KaistianSvc {

	@Produces(MediaType.APPLICATION_JSON)
	@Consumes(MediaType.APPLICATION_JSON)
	@PUT
	@Path("register")
	KaistianVo create(KaistianVo newUser);

	@Produces(MediaType.APPLICATION_JSON)
	@GET
	@Path("login")
	KaistianVo login(@QueryParam("username") String username, @QueryParam("password") String password);
}
